package com.joysuch.wwyt.mh.websocket;

/**
 * 大屏websocket推送-业务类型
 *
 * @Author ZhangDong
 * @Date 2021/2/4 10:19
 */
public enum MonitorPointBusType {

    PING_PONG(0, "心跳监测", "ping_pong"),
    MONITOR_POINT_REAL_TIME_DATA(1, "监测点实时数据", "monitor_point_real_time_data"),
    MONITOR_POINT_ALARM_MESSAGE_ALL(2, "监测点报警信息-所有", "monitor_point_alarm_message_all"),
    MONITOR_POINT_ALARM_MESSAGE_ADD(3, "监测点报警信息-新增", "monitor_point_alarm_message_add"),
    MONITOR_POINT_ALARM_MESSAGE_HANDLE(4, "监测点报警信息-处理", "monitor_point_alarm_message_handle"),
    RISK_COMPANY_BIG_SCREEN_DATA(5, "风险研判大屏数据", "risk_company_big_screen_data"),
    RISK_DISTRICT_ALARM_MESSAGE_ALL(6, "风险区域报警信息-所有", "risk_district_alarm_message_all"),
    RISK_DISTRICT_ALARM_MESSAGE_ADD(7, "风险区域报警信息-新增", "risk_district_alarm_message_add"),
    RISK_DISTRICT_ALARM_MESSAGE_HANDLE(8, "风险区域报警信息-处理", "risk_district_alarm_message_handle"),

    MONITOR_POINT_ALARM_MESSAGE_HANDLE_ALL(9, "监测点报警信息-处理", "monitor_point_alarm_message_handle_all"),
    RISK_DISTRICT_ALARM_MESSAGE_HANDLE_ALL(10, "风险区域报警信息-键处理", "risk_district_alarm_message_handle_all"),

    CUSTOMIZE_MONITOR_POINT_DATA(11, "自定义监测点数据", "customize_monitor_point_data"),

    LOCATE_SCREEN_BINDERS(12, "获取定位人员列表", "locate_screen_binders"),
    LOCATE_SCREEN_AREA_PERSON(13, "获取定位人员的区域列表", "locate_screen_area_person"),
    LOCATE_SCREEN_CERTIFICATE_ALARM(14, "获取定位作业报警列表", "locate_screen_certificate_alarm"),
    LOCATE_SCREEN_AREA_ALARM(15, "获取定位区域人员报警列表", "locate_screen_area_alarm"),
    LOCATE_SCREEN_ALARM_COUNT(16, "获取报警总数", "locate_screen_alarm_count"),
    LOCATE_SCREEN_CAR_ALARM(17, "获取定位车辆报警列表", "locate_screen_car_alarm"),

    LOCATE_SCREEN_INSPECT_ALARM_ALL(18, "巡检排查报警信息-所有", "locate_screen_inspect_alarm"),
    LOCATE_SCREEN_INSPECT_ALARM_ADD(19, "巡检排查报警信息-新增", "locate_screen_inspect_alarm_add"),
    LOCATE_SCREEN_INSPECT_ALARM_HANDLE(20, "巡检排查报警信息-处理", "locate_screen_inspect_alarm_handle"),
    LOCATE_SCREEN_INSPECT_ALARM_HANDLE_ALL(21, "巡检排查报警信息-一键处理", "locate_screen_inspect_alarm_handle_all"),

    LOCATE_SCREEN_WORKFLOW_VIEW_ALL(22, "作业票地图图标-所有", "locate_screen_workflow_view_all"),
    LOCATE_SCREEN_WORKFLOW_VIEW_UPDATE(23, "作业票地图图标-所有", "locate_screen_workflow_view_update"),

    AI_ALARM_ALL(24, "AI报警信息-所有", "ai_alarm_all"),
    AI_ALARM_ADD(25, "AI报警信息-新增", "ai_alarm_add"),
    AI_ALARM_HANDLE(26, "AI报警信息-处理", "ai_alarm_handle"),
    AI_ALARM_HANDLE_ALL(27, "AI报警信息-一键处理", "ai_alarm_handle_all"),

    RISK_DISTRICT_LIST_ALL(28, "区域列表-所有", "risk_district_list_all"),
    RISK_DISTRICT_LIST_ADD(29, "区域列表-新增", "risk_district_list_add"),
    RISK_DISTRICT_LIST_UPDATE(30, "区域列表-修改", "risk_district_list_update"),
    RISK_DISTRICT_LIST_HANDLE(31, "区域列表-删除", "risk_district_list_handle"),

    RISK_POINT_COUNT(32, "风险点数量", "risk_point_count"),
    RISK_DISTRICT_MAP(33, "区域风险统计", "risk_district_map");

    private int index;
    private String busChType;
    private String busEnType;

    MonitorPointBusType(int index, String busChType, String busEnType) {
        this.index = index;
        this.busChType = busChType;
        this.busEnType = busEnType;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public String getBusChType() {
        return busChType;
    }

    public void setBusChType(String busChType) {
        this.busChType = busChType;
    }

    public String getBusEnType() {
        return busEnType;
    }

    public void setBusEnType(String busEnType) {
        this.busEnType = busEnType;
    }

}
